﻿using Elsa.Events;
using MediatR;

namespace Zhp.Workflow.Notify
{
    /// <summary>
    /// 这个通知事件是所有通知事件最后一个执行
    /// </summary>
    public class WorkflowExecutionFinishedHander : INotificationHandler<WorkflowExecutionFinished>
    {
        /// <summary>
        /// 在这里可以捕获异常通知
        /// </summary>
        /// <param name="notification"></param>
        /// <param name="cancellationToken"></param>
        /// <returns></returns>
        /// <exception cref="NotImplementedException"></exception>
        public Task Handle(WorkflowExecutionFinished notification, CancellationToken cancellationToken)
        {
            
            return Task.CompletedTask;
        }

    }
}
